module.exports = {
    presets: ["@vue/cli-plugin-babel/preset"],
    plugins: [
        "@vue/babel-plugin-jsx",
        [
            "import",
            {
                libraryName: "ant-design-vue",
                styleLibraryName: "es",
                style: true,
            },
            "antdv",
        ],
        [
            "import",
            {
                libraryName: "@formily/antdv",
                libraryDirectory: "esm",
                style: true,
            },
            "@formily/antdv",
        ],
    ],
};
